package cn.chinamobile.entities;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVO {

    private Integer orderId;
    private Integer userId;
    private String busId;
    private String startStation;
    private String stops;
    private String arrivalStation;
    private Integer capacity;
    private String departureTime;
    private String frequency;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date time;
}